package com.finddreams.module_base.event;

/**
 * Created by lx on 17-10-24.
 */

public class LoginStateEvent {

    private static LoginStateEvent loginStateEvent;

    public static LoginStateEvent getInstance(){
        if (null == loginStateEvent){
            loginStateEvent = new LoginStateEvent();
        }
        return loginStateEvent;
    }

    public boolean isSuccess;

    public String userName;

    public String address;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean success) {
        isSuccess = success;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
